<p>user works!</p>
<button (click)="sub()" title="当前购买数是{{count}}"> -</button>
{{count}}
<button (click)="add()" [title]="'当前购买数是' + count">+ </button>
1<img src="./../../assets/1.jpg" />
2 <img src="/src/assets/1.jpg" />
<!-- 2<img src="/src/assets/1.jpg  " /> -->
3<img [src]="'../../assets/'+ imgUrl" />
<p>{{imgUrl}}</p>
